﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace mbine.msgc.model
{
    public class CStatusCollection
    {
        List<CStatus> Statuses;
        public CStatusCollection()
        {
            Statuses = new List<CStatus>{
                new CStatus(0, "Offline"),  //오프라인
                new CStatus(1, "Online"),   //온라인
                new CStatus(2, "Busy"),     //바쁨
                new CStatus(3, "Away"),     //자리비움
                new CStatus(4, "Offline")   //오프라인 표시
            };
        }
    }

    public class CStatus
    {
        public int Code { get; set; }
        public string Message { get; set; }
        public Bitmap Symbol { get; set; }

        public CStatus()
        {
        }

        public CStatus(int _code, string _message)
        {
            this.Code = _code;
            this.Message = _message;
        }

        public CStatus(int _code, string _message, Bitmap _symbol)
        {
            this.Code = _code;
            this.Message = _message;
            this.Symbol = _symbol;
        }
    }
}
